﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Compilex.Automata
{
    public class EpsilonTransitionRule<S> : ITransitionRule<S>
    {
        public S Destination
        {
            get;
            protected set;
        }

        public bool IsEpsilon
        {
            get { return true;  }
        }

        public bool MatchesInput(string input)
        {
            return false;
        }

        public EpsilonTransitionRule(S destination)
        {
            this.Destination = destination;
        }
    }
}
